#pragma once
#include "Texture.h"
#include "DX9Engine.h"
#include "Input.h"
#include "EngineData.h"

class Entity
{
protected:
	V2DF m_pos;
	Texture m_texture;
	float m_scale;
	float m_rotation;
	bool m_dead;
public:
	Entity() {}
	~Entity() {}

	virtual void initialize(LPCWSTR fileName)
	{
		m_texture.initialize(fileName);
	}
	virtual void initialize(LPCWSTR fileName, V2DF position, float scale, float rotation)
	{
		m_texture.initialize(fileName);
		m_pos = position;
		m_scale = scale;
		m_rotation = rotation;
		m_dead = false;
	}
	virtual void update(float dT) = 0;
	virtual void render() = 0;
	virtual void release() = 0;
};